#ifndef __WINDOW_MAIN_H_
#define __WINDOW_MAIN_H_

#include <gtk/gtk.h>

#include "network.h"

struct window_main_s {
	GtkWidget *window;
	GtkWidget *box_main, *box_buttons;
	GtkWidget *tree_rooms;
	GtkWidget *scrolled_rooms;
	GtkWidget *button_join, *button_create, *button_logout;
	GtkListStore *list_rooms;
};

void
window_main_button_join_cb(GtkButton *button,
						   gpointer data);

void
window_main_button_create_cb(GtkButton *button,
						   gpointer data);

void
window_main_init();

#endif

